load("@rules_cc//cc:cc_test.bzl", "cc_test")

# Comprehensive C++ test binary for yosys functionality using Google Test
cc_test(
    name = "yosys_binary_test",
    size = "small",
    srcs = ["yosys_binary_test.cc"],
    data = ["@yosys"],
    env = {"YOSYS": "$(rlocationpath @yosys)"},
    deps = [
        "@googletest//:gtest",
        "@googletest//:gtest_main",
        "@rules_cc//cc/runfiles",
    ],
)
